﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MyServer.Common
{
    /// <summary>
    /// 为数据包排序提供比较器
    /// </summary>
    public class DataPackageComparer:IComparer<DataPackage>
    {
        public int Compare(DataPackage x, DataPackage y)
        {
            return (x.ID.CompareTo(y.ID));
        }

    }
}
